package com.hongyue.dey07;

import java.io.*;

public class Demo {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("dey11\\src\\com\\hongyue\\dey05\\aaa.txt"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("dey11\\src\\com\\hongyue\\dey07\\aaa.txt"));
        for (String i; (i = br.readLine()) != null; ) {
            bw.write(i);
            bw.newLine();
            bw.flush();
        }
        bw.close();
        br.close();
    }
}
